package com.spider.admin.service.agent;

import com.spider.admin.conf.CommandExecResult;
import com.spider.admin.exception.SpiderException;

public interface ApplicationServer {
    /**
     * 启动代理服务
     * @throws SpiderException
     */
    CommandExecResult startUIServer() throws SpiderException;

    /**
     * 停止代理服务
     * @throws SpiderException
     */
    CommandExecResult stopUIServer() throws SpiderException;
}
